Simon McVittie [Mon, 30 Aug 2021 09:48:49 +0000 (10:48 +0100)]
compose: Document how to get compose-parse input from libX11 source
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3902
Applied-upstream: 4.5.0
Gbp-Pq: Name compose-Document-how-to-get-compose-parse-input-from-libX.patch
Simon McVittie [Mon, 30 Aug 2021 09:13:33 +0000 (10:13 +0100)]
compose: Generate endian-dependent compact Compose data
The GtkComposeTable cache is always in big-endian format and is
byteswapped on load for the more common little-endian CPUs, but
init_builtin_table() in GtkIMContextSimple can't byteswap the built-in
data without copying it, which is undesirable. Pregenerate both big-
and little-endian compose data, and compile the correct flavour into
each build of GTK. This fixes failure of the composetable test when
building for a big-endian architecture such as s390x and (traditional,
big-endian) powerpc.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4217
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3902
Applied-upstream: 4.5.0
Gbp-Pq: Name compose-Generate-endian-dependent-compact-Compose-data.patch
Simon McVittie [Thu, 15 Apr 2021 13:09:42 +0000 (14:09 +0100)]
templates: Remove html5shiv
Internet Explorer is dead, or really should be, so let's not generate
references to external resources that can be a privacy breach.
Gbp-Pq: Topic debian
Gbp-Pq: Name templates-Remove-html5shiv.patch
Simon McVittie [Thu, 15 Apr 2021 12:41:44 +0000 (13:41 +0100)]
Disable web fonts for now
The way this works is still changing upstream, and getting the
correct licensing and source code for the Red Hat font (ITP: #986999)
is not really in the scope of packaging gi-docgen.
Forwarded: not-needed, Debian-specific
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-web-fonts-for-now.patch
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
reftests: Allow minor differences to be tolerated
Based on an earlier patch by Michael Biebl, as used in Debian's GTK 3
packaging, with additional inspiration from librsvg's reftests.
Each .ui or .node reftest can have an accompanying .keyfile file
like this:
[reftest]
tolerated-diff-level=20
tolerated-diff-pixels=1000
If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
reftest_compare_surfaces: Report how much the images differ
In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Simon McVittie [Fri, 3 Sep 2021 07:55:12 +0000 (08:55 +0100)]
Release to unstable
Simon McVittie [Thu, 2 Sep 2021 22:32:41 +0000 (23:32 +0100)]
Add patch to skip remaining failing gsk tests on mips*el
Simon McVittie [Thu, 2 Sep 2021 22:24:56 +0000 (23:24 +0100)]
Add patch to disable testing of the old 'gl' renderer
The newer 'ngl' renderer is already the default, and 'gl' was removed
upstream in 4.5.x, so 'gl' doesn't seem worthwhile to try to support.
It also crashes in a couple of tests on mips*el. Let's focus testing
effort on the renderer that has a future.
Simon McVittie [Thu, 2 Sep 2021 22:23:35 +0000 (23:23 +0100)]
Add patch to ignore colour differences on pixels with zero alpha
This makes some of the remaining failing tests pass on mips*el.
Simon McVittie [Thu, 2 Sep 2021 08:16:26 +0000 (09:16 +0100)]
d/rules: Don't enable ffmpeg when experimental builds are copied to Ubuntu
Simon McVittie [Thu, 2 Sep 2021 08:14:33 +0000 (09:14 +0100)]
Remove alternative dependency on libgdk-pixbuf2.0-dev
We don't support skipping a Debian release, and this package's
dependencies make it unlikely to be backported.
Simon McVittie [Wed, 1 Sep 2021 23:34:50 +0000 (00:34 +0100)]
Update changelog
Simon McVittie [Wed, 1 Sep 2021 22:16:37 +0000 (23:16 +0100)]
Update changelog
Simon McVittie [Wed, 1 Sep 2021 22:13:35 +0000 (23:13 +0100)]
Remove dependency from gtk-4-examples on gtk-3-examples
This was because the demos shared GSettings schemas, but they no longer
have the same name.
Simon McVittie [Wed, 1 Sep 2021 22:12:56 +0000 (23:12 +0100)]
Remove dependency from libgtk-4-bin to libgtk-3-bin
This was because they used to share gtkbuilder.its and gtkbuilder.loc,
but those have been replaced by their gtk4builder counterparts, in
libgtk-4-dev.
Simon McVittie [Wed, 1 Sep 2021 22:09:38 +0000 (23:09 +0100)]
Drop dependency from libgtk-4-common to libgtk-3-common
This was put in place because they used to share GSettings schemas,
but that's no longer the case.
Simon McVittie [Wed, 1 Sep 2021 22:07:43 +0000 (23:07 +0100)]
Simplify graphene dependency
The version in bullseye is sufficient for all architectures.
Jeremy Bicha [Mon, 30 Aug 2021 21:37:46 +0000 (17:37 -0400)]
Build-Depend on libsysprof-capture-4-dev instead of sysprof
in preparation for the sysprof package split
See https://bugs.debian.org/971243
Also bump minimum version to 3.40.1. See explanation at
https://salsa.debian.org/gnome-team/mutter/-/commit/
62a24ad428f
Simon McVittie [Mon, 30 Aug 2021 12:33:35 +0000 (13:33 +0100)]
Release to experimental
Simon McVittie [Mon, 30 Aug 2021 12:27:07 +0000 (13:27 +0100)]
Update compose data from libX11 1.7.2
This adds a few missing compose sequences.
Simon McVittie [Mon, 30 Aug 2021 12:33:03 +0000 (13:33 +0100)]
Add proposed patch documenting how to regenerate Compose tables
Simon McVittie [Mon, 30 Aug 2021 12:25:44 +0000 (13:25 +0100)]
Add proposed patch to use big-endian compose data on big-endian host
This resolves a FTBFS caused by test failure on s390x and other
big-endian ports.
Simon McVittie [Mon, 30 Aug 2021 12:23:18 +0000 (13:23 +0100)]
d/missing-sources: Add source for libX11-derived compose sequences
By trial and error, the files in gtk/compose/ seem to be generated from
libX11 1.7.0.
Simon McVittie [Sun, 29 Aug 2021 11:08:27 +0000 (12:08 +0100)]
Disable Broadway (HTML) backend
It isn't clear whether this is used in practice. If we disable it now,
enabling it later if requested will not be an ABI break, but if we
enable it now, we have to keep it enabled indefinitely.
Simon McVittie [Sat, 28 Aug 2021 14:17:12 +0000 (15:17 +0100)]
Release to experimental
Simon McVittie [Tue, 24 Aug 2021 21:48:30 +0000 (22:48 +0100)]
Always expect NEWS to be compressed (Closes: #985418)
debhelper always compresses NEWS files, even if they are small.
Simon McVittie [Tue, 24 Aug 2021 19:21:39 +0000 (20:21 +0100)]
Completely move .links files to debhelper syntax (Closes: #991964)
Simon McVittie [Tue, 24 Aug 2021 09:25:26 +0000 (10:25 +0100)]
Release to experimental
Simon McVittie [Tue, 24 Aug 2021 09:24:54 +0000 (10:24 +0100)]
Update symbols file for new ABI
Simon McVittie [Tue, 24 Aug 2021 09:05:20 +0000 (10:05 +0100)]
Update changelog
Simon McVittie [Tue, 24 Aug 2021 09:01:57 +0000 (10:01 +0100)]
d/watch: Only watch for stable releases
Simon McVittie [Tue, 24 Aug 2021 08:45:12 +0000 (09:45 +0100)]
d/copyright: Update
Simon McVittie [Tue, 24 Aug 2021 08:45:03 +0000 (09:45 +0100)]
d/control.in: Update dependencies
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Tue, 24 Aug 2021 08:21:19 +0000 (09:21 +0100)]
d/tests: Fix variable reference in dh_fixperms override
Simon McVittie [Tue, 24 Aug 2021 08:16:29 +0000 (09:16 +0100)]
New upstream release
Simon McVittie [Tue, 24 Aug 2021 08:16:28 +0000 (09:16 +0100)]
Update upstream source from tag 'upstream/4.4.0+ds1'
Update to upstream version '4.4.0+ds1'
with Debian dir
c02e321117168515ae729b3568decec568764cbf
Simon McVittie [Tue, 24 Aug 2021 08:15:47 +0000 (09:15 +0100)]
New upstream version 4.4.0+ds1
Matthias Clasen [Fri, 20 Aug 2021 17:38:10 +0000 (13:38 -0400)]
4.4.0
Matthias Clasen [Fri, 20 Aug 2021 18:41:05 +0000 (14:41 -0400)]
Fix imcontext tests
We should force our internal im context for these
tests, so we don't depend on the environment.
Matthias Clasen [Fri, 20 Aug 2021 14:21:39 +0000 (14:21 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
NEWS: Updates
See merge request GNOME/gtk!3861
Matthias Clasen [Fri, 20 Aug 2021 13:24:04 +0000 (09:24 -0400)]
NEWS: Updates
Matthias Clasen [Fri, 20 Aug 2021 13:50:51 +0000 (13:50 +0000)]
Merge branch 'cut-shortcut-activation-short' into 'master'
shortcutcontroller: Only do round-robin for mnemonics
Closes #4130
See merge request GNOME/gtk!3824
Matthias Clasen [Tue, 3 Aug 2021 20:23:16 +0000 (16:23 -0400)]
shortcutcontroller: Only do round-robin for mnemonics
Don't do round-robin activation unless we are looking
for mnemonics, where this is an expected feature.
Fixes: #4130
Matthias Clasen [Fri, 20 Aug 2021 13:22:01 +0000 (13:22 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
gdk: Add a missing annotation
Closes #4097
See merge request GNOME/gtk!3860
Emmanuele Bassi [Fri, 20 Aug 2021 13:18:37 +0000 (13:18 +0000)]
Merge branch 'master' into 'master'
a11y: Send correct object reference for the root accessible
See merge request GNOME/gtk!3800
Matthias Clasen [Fri, 20 Aug 2021 12:57:27 +0000 (08:57 -0400)]
gdk: Add a missing annotation
Mark an array as zero-terminated.
Fixes: #4097
Matthias Clasen [Fri, 20 Aug 2021 11:31:16 +0000 (11:31 +0000)]
Merge branch 'add-support-for-windows-pointer-input-stack-gtk4' into 'master'
Add support for Windows Pointer Input Stack
Closes #262, #3162, #729, and #537
See merge request GNOME/gtk!3684
Simon McVittie [Fri, 20 Aug 2021 10:43:49 +0000 (11:43 +0100)]
Release to experimental
Simon McVittie [Sun, 15 Aug 2021 15:10:44 +0000 (16:10 +0100)]
Update changelog
Simon McVittie [Fri, 20 Aug 2021 10:10:28 +0000 (11:10 +0100)]
d/rules: Only build the ffmpeg backend when targeting experimental
Upstream consider it to be experimental, and recommend the GStreamer
backend.
Simon McVittie [Fri, 20 Aug 2021 09:02:15 +0000 (10:02 +0100)]
Silence a Lintian tag for documentation-like filenames among test data
Simon McVittie [Fri, 20 Aug 2021 08:59:35 +0000 (09:59 +0100)]
d/copyright: Update
Simon McVittie [Fri, 20 Aug 2021 08:57:52 +0000 (09:57 +0100)]
d/rules: Override dh_fixperms to set correct permissions on /usr/libexec
Making everything executable is not quite right for installed-tests.
Simon McVittie [Thu, 19 Aug 2021 22:18:07 +0000 (23:18 +0100)]
Remove Vulkan symbols from .symbols file
This is an ABI break, but only in experimental so far. The Vulkan
renderer is marked as experimental upstream, with a note that it often
causes crashes in the Inspector view; this sounds like something we
likely don't want yet.
Simon McVittie [Thu, 19 Aug 2021 22:15:07 +0000 (23:15 +0100)]
Update symbols file
Simon McVittie [Thu, 19 Aug 2021 20:54:32 +0000 (21:54 +0100)]
tests: Specify locales' charsets explicitly, fixing FTBFS with new glibc
glibc 2.31-14 dropped support for all non-UTF-8 locales, so we can't
use /usr/share/i18n/SUPPORTED to choose a suitable charset any more.
Simon McVittie [Mon, 16 Aug 2021 08:21:09 +0000 (09:21 +0100)]
d/control.in: Label the FFmpeg media backend as experimental
Based on what upstream git history says, we want people to be using the
GStreamer backend unless they have specific reasons not to.
Simon McVittie [Mon, 16 Aug 2021 08:18:50 +0000 (09:18 +0100)]
Enable FFmpeg for the main build
This is currently off by default and labelled as experimental, but if
we want to offer libgtk-4-media-ffmpeg then we will have to enable it.
Simon McVittie [Mon, 16 Aug 2021 08:12:34 +0000 (09:12 +0100)]
Disable GStreamer for the udeb build
Support for VP8 and VP9 is officially part of the GTK4 API, but it seems
OK to provide a reduced API in debian-installer.
Simon McVittie [Sun, 15 Aug 2021 15:44:02 +0000 (16:44 +0100)]
d/rules: Rebuild emoji data from source files
This provides a straightforward way to check that we have the correct
source files.
Simon McVittie [Sun, 15 Aug 2021 15:38:22 +0000 (16:38 +0100)]
Unfuzz patches
Gbp-dch: ignore
Simon McVittie [Sun, 15 Aug 2021 15:38:00 +0000 (16:38 +0100)]
Drop patches that were applied upstream
Simon McVittie [Sun, 15 Aug 2021 15:20:31 +0000 (16:20 +0100)]
d/control.in: Remove build-dependencies for Google Cloud Print
The service underlying this printing backend was shut down at the end
of 2020, so the printing backend is no longer useful and was removed
upstream.
Simon McVittie [Sun, 15 Aug 2021 15:18:16 +0000 (16:18 +0100)]
d/control.in: Bump meson requirement as per meson.build
Matthias Clasen [Fri, 20 Aug 2021 06:18:07 +0000 (06:18 +0000)]
Merge branch 'block-cursor-fixes' into 'master'
textview: Don't eat block cursors
See merge request GNOME/gtk!3857
Matthias Clasen [Fri, 20 Aug 2021 05:55:50 +0000 (01:55 -0400)]
textview: Don't eat block cursors
We need to render even an empty paragraph when
it has a block cursor at the end. This fixes block
cursors not showing up in empty lines.
Matthias Clasen [Thu, 19 Aug 2021 21:19:40 +0000 (21:19 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
window: Make resizeability changes work
See merge request GNOME/gtk!3856
Matthias Clasen [Thu, 19 Aug 2021 20:03:58 +0000 (16:03 -0400)]
window: Make resizeability changes work
We were forgetting to update the toplevel
properties here.
Luca Bacci [Thu, 19 Aug 2021 14:29:45 +0000 (16:29 +0200)]
Move the _gdk_win32_pointer_input_api global variable into GdkWin32Display
Matthias Clasen [Fri, 16 Jul 2021 12:27:54 +0000 (08:27 -0400)]
windows: Update the docs for env vars
We've replaced some env vars with a new one.
Update the docs to match.
Luca Bacci [Mon, 16 Aug 2021 12:57:49 +0000 (14:57 +0200)]
Fix typo
Luca Bacci [Mon, 16 Aug 2021 12:56:49 +0000 (14:56 +0200)]
Disable visual feedback for pen ad touch
Luca Bacci [Mon, 16 Aug 2021 12:53:35 +0000 (14:53 +0200)]
Filter out spurious mouse messages while handling pen or touch input
Luca Bacci [Mon, 16 Aug 2021 12:39:25 +0000 (14:39 +0200)]
Add _gdk_win32_get_cursor_pos utility
Luca Bacci [Fri, 9 Jul 2021 13:17:17 +0000 (15:17 +0200)]
Handle WinPointer input
Luca Bacci [Fri, 2 Jul 2021 09:13:06 +0000 (11:13 +0200)]
Initialize WinPointer and enumerate devices
Luca Bacci [Fri, 2 Jul 2021 08:53:16 +0000 (10:53 +0200)]
Add new GdkDeviceWinpointer type
Luca Bacci [Wed, 18 Aug 2021 10:34:24 +0000 (12:34 +0200)]
Add winpointer.h header file for type declarations
Luca Bacci [Fri, 18 Jun 2021 11:47:40 +0000 (13:47 +0200)]
Add entry for WinPointer in GdkWin32TabletInputAPI enum
Luca Bacci [Fri, 18 Jun 2021 09:59:38 +0000 (11:59 +0200)]
Make room for other API's than Wintab
Luca Bacci [Fri, 18 Jun 2021 09:43:53 +0000 (11:43 +0200)]
Remove _gdk_input_ignore_wintab variable
Also remove unused variable _gdk_max_colors
Luca Bacci [Fri, 18 Jun 2021 09:36:08 +0000 (11:36 +0200)]
Rename some Wintab-related functions
Luca Bacci [Mon, 5 Jul 2021 14:13:59 +0000 (16:13 +0200)]
Set active physical device when using the mouse
Luca Bacci [Fri, 2 Jul 2021 08:17:13 +0000 (10:17 +0200)]
Move use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers
Luca Bacci [Fri, 2 Jul 2021 08:15:52 +0000 (10:15 +0200)]
Add a physical_device argument to send_crossing_event et al
Luca Bacci [Tue, 29 Jun 2021 12:27:13 +0000 (14:27 +0200)]
Raise _WIN32_WINNT macro to target Windows 7 API
Matthias Clasen [Thu, 19 Aug 2021 05:47:43 +0000 (01:47 -0400)]
Updates
Matthias Clasen [Thu, 19 Aug 2021 04:51:11 +0000 (04:51 +0000)]
Merge branch 'better-word-selection' into 'master'
textview: Improve word selection
Closes #4177
See merge request GNOME/gtk!3855
Matthias Clasen [Thu, 19 Aug 2021 04:33:03 +0000 (00:33 -0400)]
textview: Improve word selection
Avoid selecting a whole extra paragraph when a select-by-words
selection is extended beyond the end of the previous paragraph.
Fixes: #4177
Matthias Clasen [Thu, 19 Aug 2021 02:49:23 +0000 (02:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Cosmetics
See merge request GNOME/gtk!3854
Matthias Clasen [Thu, 19 Aug 2021 02:33:23 +0000 (22:33 -0400)]
Cosmetics
Benjamin Otte [Thu, 19 Aug 2021 01:42:26 +0000 (01:42 +0000)]
Merge branch 'wip/otte/for-master' into 'master'
demo: Add a dnd special-case for textures
See merge request GNOME/gtk!3853
Benjamin Otte [Thu, 19 Aug 2021 01:14:59 +0000 (03:14 +0200)]
gtk-demo: Make clipboard demo paste from clipboard
The old code was just pasting local clipboard data that we put there
ourselves and was causing criticals on remote clipboard data. Now the
code does the proper async paste.
Benjamin Otte [Thu, 19 Aug 2021 01:14:24 +0000 (03:14 +0200)]
contentprovider: Switch wrong order in type check
We can provide textures as a paintable - we can't provide paintables as
textures.
Benjamin Otte [Thu, 19 Aug 2021 00:15:59 +0000 (02:15 +0200)]
demo: Add a dnd special-case for textures
If the DND/clipboard machinery knows a texture is a texture, it will try
to serialize it. Paintables can't be serialized, so it wouldn't try.
Matthias Clasen [Wed, 18 Aug 2021 22:05:07 +0000 (22:05 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
infobar: Update buildable docs
Closes #4164
See merge request GNOME/gtk!3852
Matthias Clasen [Wed, 18 Aug 2021 21:42:54 +0000 (17:42 -0400)]
infobar: Update buildable docs
Document the current state of GtkBuilder support in
GtkInfoBar, not what we had in GTK3.
Fixes: #4164
Matthias Clasen [Wed, 18 Aug 2021 21:10:30 +0000 (21:10 +0000)]
Merge branch 'seat-v7' into 'master'
gdk/wayland: add support for wl_seat version 7
See merge request GNOME/gtk!3842
Matthias Clasen [Wed, 18 Aug 2021 18:24:37 +0000 (18:24 +0000)]
Merge branch 'fix/wm_class2' into 'master'
x11: ensure WM class is not null even if display is initialized early
See merge request GNOME/gtk!3808